﻿using System.Collections.ObjectModel;
using System.Runtime.Serialization;

namespace Prompts.ReportCatalog.Model
{
    [DataContract(
        Name = "CatalogItemInfo",
        Namespace = "http://schemas.datacontract.org/2004/07/Prompts.Service.ReportCatalogService")]
    public class CatalogItemInfo
    {
        [DataMember]
        public ObservableCollection<CatalogItemInfo> Children { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Path { get; set; }

        [DataMember]
        public CatalogItemType Type { get; set; }
    }
}